/*****************
 * On-line Energy Evaluation
 * by Mina Jung @SU (March 2010)
 *
 *****************/

typedef struct energy_state{
	int	radio_state; // radio, cpu, led, cpu_cycles, adc, eeprom
	int	cpu_state; 
	int	led_state[3]; 
	int	cc_state;
	int	adc_state;
	int	eeprom_state;
	double	total[6];
	double	battery;
	double	prev_battery;
	sim_time_t mote_die;
	double	prev_current[7];
}energy_state_t;


	
